package Oop05;

public class Dog extends Animal{

    public Dog(String name, int age) {
        super(name, age);
    }
    //重写 eat
    public void eat(){
        System.out.println(this.name + "正在吃狗粮");
    }
}
